package com.erlin.platform.service;

import com.erlin.platform.constant.user.UserRoleEnum;
import com.erlin.platform.entity.UserRoleMid;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author alin
 * @since 2021-05-18
 */
public interface IUserRoleMidService extends IService<UserRoleMid> {
    /**
     * 新增用户关系
     * @param userId
     * @param roleEnum
     */
    void insert(Long userId, UserRoleEnum roleEnum);
}
